package com.kgcx.coupon.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

/**
 * @description 营销方案
 * @author 何凯
 * @version 0.1
 * @time 2017/12/12 14:36
 * @since 0.1
 */
@Data
@ApiModel("营销方案")
public class MarketingPlan {
    /**
    * 唯一主键
    */
    @ApiModelProperty(value = "唯一主键", example = "1")
    private Integer kid;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号", example = "1")
    private String planCode;

    /**
    * 方案名称
    */
    @ApiModelProperty(value = "方案名称", example = "方案名称")
    private String planName;

    /**
     * 邀请码
     */
    @ApiModelProperty(value = "邀请码", example = "邀请码")
    private String invitCode;

    /**
    * 合作渠道
    */
    @ApiModelProperty(value = "合作渠道", example = "合作渠道")
    private String cooperationChannel;

    /**
    * 领取上限
    */
    @ApiModelProperty(value = "领取上限", example = "10")
    private Integer receiveLimt;

    /**
    * 有效期始
    */
    @ApiModelProperty(value = "有效期始", example = "10000000")
    private Timestamp validityStartTime;

    /**
    * 有效期止
    */
    @ApiModelProperty(value = "有效期止", example = "20000000")
    private Timestamp validityEndTime;

    /**
    * 互斥方案
    */
    @ApiModelProperty(value = "互斥方案（1不互斥2全部互斥3指定互斥）", example = "1")
    private Integer mutualType;
    /**
     * 逻辑状态（0=启用，1=删除）
     */
    @ApiModelProperty(value = "逻辑状态（0=启用，1=删除）", example = "1")
    private Integer status;

    /**
    * 备注
    */
    @ApiModelProperty(value = "备注", example = "备注")
    private String remark;

    /**
    * 创建人
    */
    private Integer createId;

    /**
    * 创建时间
    */
    private Timestamp createTime;

    /**
    * 修改人
    */
    private Integer updateId;

    /**
    * 修改时间
    */
    private Timestamp updateTime;
    /**
     * 指定互斥方案
     */
    private List<AppointMutex> appointMutexList;
    /**
     * 方案优惠券明细
     */
    private List<CouponDetail> couponDetailList;


}
